package com.xyd.Util;

public class PageUtil {
    public static final int PAGE_SIZE = 8;

    public static int getTotalPages(int totalNum,int pageSize) {
        return totalNum % pageSize == 0 ? totalNum / pageSize : totalNum / pageSize + 1;
    }

}
